package com.zhiche.lisa.bms.dao.model.bill;

import java.io.Serializable;

import com.baomidou.mybatisplus.enums.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 账单明细历史
 * </p>
 *
 * @author liuanshun
 * @since 2018-09-07
 */
@TableName("lisa_bill_detail_log")
public class BillDetailLog extends Model<BillDetailLog> {

    private static final long serialVersionUID = 1L;

	@TableId(value="id", type= IdType.AUTO)
	private Long id;
    /**
     * 费用ID
     */
	@TableField("fee_id")
	private Long feeId;
    /**
     * 账单ID
     */
	@TableField("bill_id")
	private Long billId;
    /**
     * 账单当时状态
     */
	@TableField("bill_status")
	private String billStatus;
    /**
     * 移除账单原因
     */
	@TableField("fee_removal_reason")
	private String feeRemovalReason;
    /**
     * 移除时间
     */
	@TableField("gmt_removal")
	private Date gmtRemoval;
	private Long creator;
	private Long proprietor;
	@TableField("tenant_id")
	private Long tenantId;


	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Long getFeeId() {
		return feeId;
	}

	public void setFeeId(Long feeId) {
		this.feeId = feeId;
	}

	public Long getBillId() {
		return billId;
	}

	public void setBillId(Long billId) {
		this.billId = billId;
	}

	public String getBillStatus() {
		return billStatus;
	}

	public void setBillStatus(String billStatus) {
		this.billStatus = billStatus;
	}

	public String getFeeRemovalReason() {
		return feeRemovalReason;
	}

	public void setFeeRemovalReason(String feeRemovalReason) {
		this.feeRemovalReason = feeRemovalReason;
	}

	public Date getGmtRemoval() {
		return gmtRemoval;
	}

	public void setGmtRemoval(Date gmtRemoval) {
		this.gmtRemoval = gmtRemoval;
	}

	public Long getCreator() {
		return creator;
	}

	public void setCreator(Long creator) {
		this.creator = creator;
	}

	public Long getProprietor() {
		return proprietor;
	}

	public void setProprietor(Long proprietor) {
		this.proprietor = proprietor;
	}

	public Long getTenantId() {
		return tenantId;
	}

	public void setTenantId(Long tenantId) {
		this.tenantId = tenantId;
	}

	@Override
	protected Serializable pkVal() {
		return this.id;
	}

	@Override
	public String toString() {
		return "BillDetailLog{" +
			", id=" + id +
			", feeId=" + feeId +
			", billId=" + billId +
			", billStatus=" + billStatus +
			", feeRemovalReason=" + feeRemovalReason +
			", gmtRemoval=" + gmtRemoval +
			", creator=" + creator +
			", proprietor=" + proprietor +
			", tenantId=" + tenantId +
			"}";
	}
}
